<?
include_once 'inc/auth.php';
$connection = openconnection ();
$query = 'update FLOW_FORM_TYPE set PRINT_MODEL=\'' . $CONTENT . '\' where FORM_ID=' . $FORM_ID;
$cursor = exequery ($connection, $query);
if ($CLOSE_FLAG != 1)
{
	header ('location: index.php?FORM_ID=' . $FORM_ID . '&SAVE=1');
	return 1;
}
echo '<script>window.close();</script>
';
?>
